namespace ProduceBasicData.Api.DTO.WarehouseDto
{
    /// <summary>
    /// 库位DTO
    /// </summary>
    public class StorageLocationDto
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public int WarehouseId { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? WarehouseName { get; set; }

        /// <summary>
        /// 区域ID
        /// </summary>
        public int ZoneId { get; set; }

        /// <summary>
        /// 区域名称
        /// </summary>
        public string? ZoneName { get; set; }

        /// <summary>
        /// 库位编号
        /// </summary>
        public string? LocationCode { get; set; }

        /// <summary>
        /// 库位名称
        /// </summary>
        public string? LocationName { get; set; }

        /// <summary>
        /// 库位状态
        /// </summary>
        public bool Status { get; set; }

        /// <summary>
        /// 容量
        /// </summary>
        public decimal Capacity { get; set; }

        /// <summary>
        /// 已使用容量
        /// </summary>
        public decimal UsedCapacity { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string? UpdateName { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}